package jy.hibernate.beans;
/**
 * Shelf_info entity
 * @author tingzi
 *
 */
public class Shelf_info implements java.io.Serializable{

	private static final long serialVersionUID = 5771834174349307213L;
    //Fields
	private Integer shelf_id;//�����id
	private String shelf_num;//��ܱ��

	private Float shelf_length=0.0f;//��ܳ���
	private Float shelf_width=0.0f;//��ܿ��
	private Float shelf_height=0.0f;//��ܸ߶�
	private Region_info region;//�����λ
	private Float temperature=0.0f;//b�����¶�
	private Float humidity=0.0f;//b����ʪ��
	private Float shelf_left=0.0f;//�˻����ʣ���
	public Integer getShelf_id() {
		return shelf_id;
	}
	public void setShelf_id(Integer shelf_id) {
		this.shelf_id = shelf_id;
	}
	public String getShelf_num() {
		return shelf_num;
	}
	public void setShelf_num(String shelf_num) {
		this.shelf_num = shelf_num;
	}
	public Float getShelf_length() {
		return shelf_length;
	}
	public void setShelf_length(Float shelf_length) {
		this.shelf_length = shelf_length;
	}
	public Float getShelf_width() {
		return shelf_width;
	}
	public void setShelf_width(Float shelf_width) {
		this.shelf_width = shelf_width;
	}
	public Float getShelf_height() {
		return shelf_height;
	}
	public void setShelf_height(Float shelf_height) {
		this.shelf_height = shelf_height;
	}
	public Region_info getRegion() {
		return region;
	}
	public void setRegion(Region_info region) {
		this.region = region;
	}
	public Float getTemperature() {
		return temperature;
	}
	public void setTemperature(Float temperature) {
		this.temperature = temperature;
	}
	public Float getHumidity() {
		return humidity;
	}
	public void setHumidity(Float humidity) {
		this.humidity = humidity;
	}
	public Float getShelf_left() {
		return shelf_left;
	}
	public void setShelf_left(Float shelf_left) {
		this.shelf_left = shelf_left;
	}
	/** full constructor */
	public Shelf_info(String shelf_num,Float shelf_length,Float shelf_width,Float shelf_height,
			Region_info region,Float temperature,Float humidity){
           this.shelf_num=shelf_num;
            this.shelf_length=shelf_length;
               this.shelf_width=shelf_width;
               this.shelf_height=shelf_height;
        		 this.region=region;
        		 	this.temperature=temperature;
        				this.humidity=humidity;
	}
	public String toString(){
		return "shelf_num:"+shelf_num+"/tshelf_length:"+shelf_length+"/tshelf_width:"+shelf_width
		       +"/tshelf_height:"+shelf_height+"/tregion"+region.getRegion_name()+"/ttemperature:"
		       +temperature+"/thumidity��"+humidity+"/tshelf_left:"+shelf_left;
	}

}
